package zzq.util;

import org.apache.commons.net.ftp.FTPClient;

public interface FtpAction {
    //本地字符编码
    String LOCAL_CHARSET = "GBK";

    // FTP协议里面，规定文件名编码为iso-8859-1
    String SERVER_CHARSET = "ISO-8859-1";
    FTPClient login(Properties properties);

    boolean uploadFile(String localFilePathAndName, String remoteDir, FTPClient client);

}
